home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / 7edit / source / sveditmain.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.4 KB  |  43 lines

  1. /*
  2.     File:        SVEditMain.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by: Original version by Jon Lansdell and Nigel Humphreys.
  7.                             3.1 updates by Greg Sutton.    
  8.  
  9.     Copyright:    Copyright ©1995-1999 by Apple Computer, Inc., All Rights Reserved.
  10.  
  11.                 You may incorporate this Apple sample source code into your program(s) without
  12.                 restriction. This Apple sample source code has been provided "AS IS" and the
  13.                 responsibility for its operation is yours. You are not permitted to redistribute
  14.                 this Apple sample source code as "Apple sample source code" after having made
  15.                 changes. If you're going to re-distribute the source, we require that you make
  16.                 it clear in the source that the code was descended from Apple sample source
  17.                 code, but that you've made changes.
  18.  
  19.     Change History (most recent first):
  20.                 7/19/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  21.                 
  22.  
  23. */
  24.  
  25. #ifndef __SVEDITMAIN__
  26. #define __SVEDITMAIN__
  27.                  
  28. pascal void        MaintainCursor(void);
  29. pascal void        MaintainMenus(void);
  30. pascal void        SetUpCursors(void);
  31. pascal void        SetUpMenus(void);
  32. pascal void        DoFile(short theItem);
  33. pascal void        DoCommand(long mResult);
  34. pascal void        DoMouseDown(const EventRecord *myEvent);
  35. pascal long        GetSleep(void);
  36. void             HandleOneEvent( EventRecord *myEvent );
  37. pascal void     MainEvent(void);
  38. OSErr             GXPrintingEventOverride(EventRecord *anEvent, Boolean filterEvent);
  39. pascal void        DoSVEdit(void);
  40.  
  41. void             main();
  42.  
  43. #endif